(unexec): Move data2 section header up so all section
authorRichard M. Stallman <rms@gnu.org>
Wed, 3 Mar 1993 09:03:06 +0000 (09:03 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 3 Mar 1993 09:03:06 +0000 (09:03 +0000)
commite40c4104bb96c0856c902b2914ea6b95e034dd70
tree5b73b6cfa9072c297f247e56e126e8f2fe4827ee
parent99e0a2e0324d91d6bdc0ba1ca8a234c0d271cdfb
(unexec): Move data2 section header up so all section
headers will be in ascending order.  This will prevent the unexeced
emacs that being processed by other applications (such as strip)
to fail.

Handle rounding of section boundaries.
(round_up): New function.
src/unexelf.c